﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GrainManage.Entities.Trade;

namespace GrainManage.Interface
{
    public interface ITrade
    {

        //************************************************POST************************************************
        OutputGetTradeType GetTradeType(InputGetTradeType input);

        OutputGetDetailByID GetDetailByID(InputGetDetailByID input);

        OutputGetDetail GetDetail(InputGetDetail input);

        OutputGetTotal GetTotal(InputGetTotal input);

        OutputGetTotalByArea GetTotalByArea(InputGetTotalByArea input);

        OutputGetTotalByContact GetTotalByContactArea(InputGetTotalByContact input);

        OutputInsert Insert(InputInsert input);

        OutputUpdate Update(InputUpdate input);

        OutputDelete Delete(InputDelete input);

        OutputBatchInsert BatchInsert(InputBatchInsert input);

        OutputBatchUpdate BatchUpdate(InputBatchUpdate input);

        OutputBatchDelete BatchDelete(InputBatchDelete input);
    }
}
